ls=[2,5,7,1,6]
# 升序排列
ls.sort()
print("升序排列:", ls)

# 降序排列
ls.sort(reverse=True)
print("降序排列:", ls)
